<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@taglib  prefix="s" uri="/struts-tags"%>
<html style="height:100%;overflow:hidden;">
<head>
	<title>bomc系统</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
</head>
<body>
	<s:if test="filter.menuType==null||filter.menuType==2">
		<jsp:include page="./main2/main.jsp"></jsp:include>
	</s:if>
	<s:else>
	<jsp:include page="./main/main.jsp"></jsp:include>
	</s:else>
</body>
<script type="text/javascript">
	window.onbeforeunload=onclose;
	function onclose()
	{
		var n = window.event.screenX - window.screenLeft;    
 
		var b = n > document.documentElement.scrollWidth-20;
		    
		if(b && window.event.clientY < 0 || window.event.altKey)
		{
			//newWindow=window.open('logout.do','','width=110,height=110');

	        //newWindow.opener=null;
	
	        //sleep(2000);
	
	        //newWindow.close();
	        
	        window.location.href = "logout.do";
		}
	}
</script>
</html>